package com.edu.videosurveillance.bean;

/**
 * 类描述:报警检索信息结构体
 * Created by 张小兵 on 2016/11/28.
 */

public class TSearchCondition {
    String StartTime;     //检索开始时间
    String EndTime;       //检索结束时间
    char AlarmState;    //报警状态(-1=全部，但不包括历史的 0=实时 1=挂起 2=排队 3=历史)
    char AlarmType;   //报警类型(-1=全部 其它=根据报警类型字典表)
    char AlarmLevel;  //报警等级(-1=全部 0=提示 1=一般 2=紧急)
    String PosiName;      //报警位置名称(模糊检索)
    String ParentDevName; //父设备名称(模糊检索)
    String DevName;        //设备名称(模糊检索)
    String RecPerName;     //处理报警人(模糊检索，针对历史报警)
    String AlarmTypes;     //报警设备类型集合
    String AlarmChildType;  //报警子类型(AlarmTypes=7006时 1=输入报警 2=报警主机防区报警)
    char IsMerged;      //报警是否合并

    public TSearchCondition(String mStartTime, String mEndTime, char mAlarmState, char mAlarmType, char mAlarmLevel, String mPosiName, String mParentDevName, String mDevName, String mRecPerName, String mAlarmTypes, String mAlarmChildType, char mIsMerged) {
        StartTime = mStartTime;
        EndTime = mEndTime;
        AlarmState = mAlarmState;
        AlarmType = mAlarmType;
        AlarmLevel = mAlarmLevel;
        PosiName = mPosiName;
        ParentDevName = mParentDevName;
        DevName = mDevName;
        RecPerName = mRecPerName;
        AlarmTypes = mAlarmTypes;
        AlarmChildType = mAlarmChildType;
        IsMerged = mIsMerged;
    }

    public String getStartTime() {
        return StartTime;
    }

    public void setStartTime(String mStartTime) {
        StartTime = mStartTime;
    }

    public String getEndTime() {
        return EndTime;
    }

    public void setEndTime(String mEndTime) {
        EndTime = mEndTime;
    }

    public char getAlarmState() {
        return AlarmState;
    }

    public void setAlarmState(char mAlarmState) {
        AlarmState = mAlarmState;
    }

    public char getAlarmType() {
        return AlarmType;
    }

    public void setAlarmType(char mAlarmType) {
        AlarmType = mAlarmType;
    }

    public char getAlarmLevel() {
        return AlarmLevel;
    }

    public void setAlarmLevel(char mAlarmLevel) {
        AlarmLevel = mAlarmLevel;
    }

    public String getPosiName() {
        return PosiName;
    }

    public void setPosiName(String mPosiName) {
        PosiName = mPosiName;
    }

    public String getParentDevName() {
        return ParentDevName;
    }

    public void setParentDevName(String mParentDevName) {
        ParentDevName = mParentDevName;
    }

    public String getDevName() {
        return DevName;
    }

    public void setDevName(String mDevName) {
        DevName = mDevName;
    }

    public String getRecPerName() {
        return RecPerName;
    }

    public void setRecPerName(String mRecPerName) {
        RecPerName = mRecPerName;
    }

    public String getAlarmTypes() {
        return AlarmTypes;
    }

    public void setAlarmTypes(String mAlarmTypes) {
        AlarmTypes = mAlarmTypes;
    }

    public String getAlarmChildType() {
        return AlarmChildType;
    }

    public void setAlarmChildType(String mAlarmChildType) {
        AlarmChildType = mAlarmChildType;
    }

    public char getIsMerged() {
        return IsMerged;
    }

    public void setIsMerged(char mIsMerged) {
        IsMerged = mIsMerged;
    }
}
